package com.wiselink.naver.productcatalog.request.common;

import com.wiselink.naver.productcatalog.request.base.BaseProduct;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * 乐器商品信息、体育用品商品信息 通用类
 */
@Getter
@Setter
@ToString(callSuper = true)
public class MusicalSport extends BaseProduct {
    /**
     * (大小) <= 200 characters
     * string (크기) <= 200 characters
     */
    @NotEmpty(message = "大小不能为空")
    @Size(max = 200, message = "大小不能超过200个字符")
    private String size;
    /**
     * (颜色) <= 200 characters
     * string (색상) <= 200 characters
     */
    @NotEmpty(message = "颜色不能为空")
    @Size(max = 200, message = "颜色不能超过200个字符")
    private String color;
    /**
     * (材质) <= 200 characters
     * string (재질) <= 200 characters
     */
    @NotEmpty(message = "材质不能为空")
    @Size(max = 200, message = "材质不能超过200个字符")
    private String material;
    /**
     * （产品构成） <= 1000 characters
     * string (제품 구성) <= 1000 characters
     */
    @NotEmpty(message = "产品构成不能为空")
    @Size(max = 1000, message = "产品构成不能超过1000个字符")
    private String components;
}
